﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="GameControl.ascx.cs" Inherits="GameControl" %>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
               <ContentTemplate>
<div  class="inner-center">
<div class="game"  runat="server" ID="gameControl">
		<div class="picks" id="awayPicks" runat="server" visible="false">
			<asp:GridView ID="lstPicksAway" runat="server" ShowHeader="false" GridLines="None"/>
			</div> 
			<div class="checkButton">
            <div ID="pickAwayTeam" runat="server" class="pickButton"/>
			</div> 

            <div class="teamGameDetail">
			<div class="score" id="awayTeamScoreBox" runat="server">

			<asp:Label ID="awayTeamScore" runat="server" />
			</div>
			<div class="pos" id="awayTeamPOS" runat="server"/>
            </div>

    	    <a class="team" runat="server" id="awayTeam">
			<asp:Image ID="awayTeamImage" runat="server" CssClass="teamImage" />
			<asp:Label ID="awayTeamName" runat="server" Text="(1-4-0)" CssClass="teamName" />
			<asp:Label ID="awayTeamRecord" runat="server" Text="(1-4-0)" CssClass="record"/>
			</a> 

			<div class="gameInfo">
		<asp:Label ID="gameStatus" runat="server" CssClass="gameStatus"  />
		<asp:Label runat="server" Text="VS." Font-Size="XX-Large" Font-Bold="true" CssClass="vs" />

		<asp:Label ID="date"   runat="server" CssClass="date"  Font-Bold="true" />
		<div class="gameDetail">
		<asp:Label ID="time"   runat="server"  Font-Bold="true" />
		</div>
			</div> 

    			<a class="team" runat="server" id="homeTeam">
			<asp:Image ID="homeTeamImage" runat="server" CssClass="teamImage" />
			<asp:Label ID="homeTeamName" runat="server" Text="(1-4-0)" CssClass="teamName" />
			<asp:Label ID="homeTeamRecord" runat="server" Text="(1-4-0)"  CssClass="record"/>
														 
			</a> 
            <div class="teamGameDetail">
			<div class="score" id="homeTeamScoreBox" runat="server">
			<asp:Label ID="homeTeamScore" runat="server" />
			</div>
			<div class="pos" id="homeTeamPOS" runat="server"/>
            </div>

				<div class="checkButton">
            <div ID="pickHomeTeam" runat="server"  class="pickButton" />
			<%--<asp:Button ID="pickHomeTeam" runat ="server"   class="pickButton"  onclick="clickHomeTeam"  />--%>
			</div> 
			<div class="picks" id="homePicks" runat="server" visible="false">
			<asp:GridView ID="lstPicksHome" runat="server"   ShowHeader="false" GridLines="None"/>
			</div> 
			<div class="spread" runat="server" visible="false" id="divSpread">
		<h1>Spread</h1>
		<p>Please Enter a Prediction of the Added Scores. (This is used to settle Ties)</p>
        <asp:Panel runat="server" DefaultButton="btnSubmitSpread">
		<asp:TextBox runat="server" id="txtSpread" Height="50" Width="50" MaxLength="2" Font-Size="XX-Large" style="text-align:center"/>
		    <br>
		</br>
		<asp:Button runat="server" Text="Submit" onclick="ClickSubmitSpread" ID="btnSubmitSpread" />
        </asp:Panel>
		</div>
			</div>
			<div style="clear:both;"></div>
													   
	</div>
	<br />
														 
</ContentTemplate>
</asp:UpdatePanel>
